//处理作者方法，会有多个作者
export function handleAuthor(authorArray) {
    // console.log(authorArray.length);
    if (authorArray.length === 0) {
        return authorArray[0].name
    } else {
        let author = ''
        for (let index = 0; index < authorArray.length; index++) {
            author += authorArray[index].name + '/'
        }
        return author.slice(0, author.length - 1)
    }
}